-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented proper fall-back to ibv_post_send without whitelists #88
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Dmitry Akhmedzhanov <[email protected]>
src/perftest_resources.c
Outdated
@@ -1579,6 +1556,9 @@ int ctx_init(struct pingpong_context *ctx, struct perftest_parameters *user_para | |||
for (i=0; i < user_param->num_of_qps; i++) { | |||
if (create_qp_main(ctx, user_param, i, num_of_qps)) { | |||
fprintf(stderr, "Failed to create QP.\n"); | |||
if (user_param->connection_type == DC) { | |||
fprintf(stderr, "DC is not supported for the divice chosen.\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this related to the patch? Also there's a typo in device.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this related to the patch? Also there's a typo in device.
Yes, it is, because the reason of failure of DC QP creation is fact that only new API supports DC.
fprintf(stderr, "Unable to create QP.\n"); | ||
return FAILURE; | ||
} | ||
return FAILURE; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question, is this related?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question, is this related?
Yes, it is, because we don't want to print this in fall-back case
No description provided.